package com.itheima.service;

import com.itheima.entity.Result;
import com.itheima.pojo.Location;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;

import java.util.List;

public interface LocationService {
    //查询所有
    List<Location> findAll();
   //分页查询
    PageResult queryPage(QueryPageBean queryPageBean);
   //新增地址信息
    Result addLocation(Location location);
    //通过id删除对应地址
    Result deleteById(Integer locationId);

}
